package com.efast.dmom.mgmt.entity.les;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 翻包基础信息子表
 * </p>
 *
 * @author ChenLiPeng
 * @since 2018-06-05
 */
@TableName("tm_bas_part_pack_detail")
public class TmBasPartPackDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(value = "tm_bas_part_pack_id", type = IdType.AUTO)
    private Integer tmBasPartPackId;
    /**
     * 头表ID
     */
    @TableField("tm_bas_part_pack_header_id")
    private Integer tmBasPartPackHeaderId;
    /**
     * 零件号
     */
    @TableField("part_no_version")
    private String partNoVersion;
    /**
     * 包材编号
     */
    @TableField("pack_no")
    private String packNo;
    /**
     * 包材数量
     */
    @TableField("pack_qty")
    private Integer packQty;
    /**
     * 零件数量
     */
    @TableField("part_qty")
    private Integer partQty;
    /**
     * 是否激活
     */
    @TableField("mark_status")
    private Integer markStatus;
    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;
    /**
     * 创建用户
     */
    @TableField("create_user")
    private String createUser;
    /**
     * 上次更新时间
     */
    @TableField("last_update_time")
    private Date lastUpdateTime;
    /**
     * 更改用户
     */
    @TableField("last_update_user")
    private String lastUpdateUser;
    /**
     * 版本控制
     */
    @TableField("opt_counter")
    private Integer optCounter;
    /**
     * 企业代码
     */
    @TableField("company_code")
    private String companyCode;


    public Integer getTmBasPartPackId() {
        return tmBasPartPackId;
    }

    public void setTmBasPartPackId(Integer tmBasPartPackId) {
        this.tmBasPartPackId = tmBasPartPackId;
    }

    public Integer getTmBasPartPackHeaderId() {
        return tmBasPartPackHeaderId;
    }

    public void setTmBasPartPackHeaderId(Integer tmBasPartPackHeaderId) {
        this.tmBasPartPackHeaderId = tmBasPartPackHeaderId;
    }

    public String getPartNoVersion() {
        return partNoVersion;
    }

    public void setPartNoVersion(String partNoVersion) {
        this.partNoVersion = partNoVersion;
    }

    public String getPackNo() {
        return packNo;
    }

    public void setPackNo(String packNo) {
        this.packNo = packNo;
    }

    public Integer getPackQty() {
        return packQty;
    }

    public void setPackQty(Integer packQty) {
        this.packQty = packQty;
    }

    public Integer getPartQty() {
        return partQty;
    }

    public void setPartQty(Integer partQty) {
        this.partQty = partQty;
    }

    public Integer getMarkStatus() {
        return markStatus;
    }

    public void setMarkStatus(Integer markStatus) {
        this.markStatus = markStatus;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public String getLastUpdateUser() {
        return lastUpdateUser;
    }

    public void setLastUpdateUser(String lastUpdateUser) {
        this.lastUpdateUser = lastUpdateUser;
    }

    public Integer getOptCounter() {
        return optCounter;
    }

    public void setOptCounter(Integer optCounter) {
        this.optCounter = optCounter;
    }

    public String getCompanyCode() {
        return companyCode;
    }

    public void setCompanyCode(String companyCode) {
        this.companyCode = companyCode;
    }

    @Override
    public String toString() {
        return "TmBasPartPackDetail{" +
        ", tmBasPartPackId=" + tmBasPartPackId +
        ", tmBasPartPackHeaderId=" + tmBasPartPackHeaderId +
        ", partNoVersion=" + partNoVersion +
        ", packNo=" + packNo +
        ", packQty=" + packQty +
        ", partQty=" + partQty +
        ", markStatus=" + markStatus +
        ", createTime=" + createTime +
        ", createUser=" + createUser +
        ", lastUpdateTime=" + lastUpdateTime +
        ", lastUpdateUser=" + lastUpdateUser +
        ", optCounter=" + optCounter +
        ", companyCode=" + companyCode +
        "}";
    }
}
